Material

Undocumented in source.

Constructors

this
this(Shader s)
Undocumented in source.

Members

Aliases

setPixelVar
alias setPixelVar = setFragmentVar
Undocumented in source.

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
setFragmentVar
void setFragmentVar(string varName, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
setGeometryVar
void setGeometryVar(string varName, T data)
Undocumented in source. Be warned that the author may not have intended to support it.
setShaderVar
void setShaderVar(ShaderVar v)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, bool data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, int data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, uint data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float[2] data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float[3] data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float[4] data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float[9] data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, float[16] data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, Vector2 data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, Vector3 data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, Vector4 data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, Matrix3 data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, Matrix4 data)
Undocumented in source. Be warned that the author may not have intended to support it.
setVar
void setVar(ShaderTypes t, string varName, void* varData, UniformType type, size_t varSize)
Undocumented in source. Be warned that the author may not have intended to support it.
setVertexVar
void setVertexVar(string varName, T data)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

shader
Shader shader;
Undocumented in source.
variables
ShaderVar[string] variables;
Undocumented in source.

Meta